/**
 *  @file  vsConstants.h version 1.0 2007-11-20 
 *  @brief Constants definitions.
 *  Copyright (c) 2007 by @author <abitfree@gmail.com>
 */

#ifndef __VS_CONSTANTS_H__
#define __VS_CONSTANTS_H__

namespace vs
{

/// The max bytes of a line.
enum 
{ 
	MAX_LINE_BYTE	= 4096	///< The max bytes of a line.
};


/// The return code of functions.
enum 
{
	VS_OK	= 0,	///< The return value for success.
	VS_ERR	= -1	///< The return value for error.
};


/// The Endian definition.
enum 
{
	LITTLE_ENDIAN	= 1,	///< Little endian.
	BIG_ENDIAN		= 2,	///< Big endian.
	UNKNOWN_ENDIAN	= 0		///< Unknown endian.
};

} // namespace vs

#endif // __VS_CONSTANTS_H__
